package com.yyfax.account;

import com.jaws.core.common.mybatis.JawsMapperScan;
import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableTransactionManagement
@EnableEncryptableProperties
@EnableDiscoveryClient
@JawsMapperScan(value = "${yjs.jaws.mybatis.basePackages}")
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}

}

	